package com.esyoga.yoyoga.util;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * 自定义token
 * @author YangTao
 */
public class UsernamePasswordByUserTypeToken extends UsernamePasswordToken{

    private static final long serialVersionUID = 1L;
    private int userType;

    public UsernamePasswordByUserTypeToken(final String username, final String password,
                                           final int userType) {
        super(username, password);
        this.userType = userType;
    }
    public UsernamePasswordByUserTypeToken() {

    }
    public int getUserType() {
        return userType;
    }
    public void setUserType(int userType) {
        this.userType = userType;
    }

}
